<?php
namespace Tyrone\Command;
use Tyrone\Model\Game\PayLog;
use Tyrone\Model\Game\Role;
use Swoole\Coroutine;
use Tyrone\Model\PlatServer;
use Tyrone\Model\PlayerPay;

class ServerDayPay extends Base
{

    public function divideHandle($mysql,$platform){
        $currentTimestamp = time();
        $date = date("Ymd", strtotime($this->sDate));
        $defaultWhere = [
            'p.platform' => $platform,
            //'p.plat_server' => ,
        ];

        $PlayerPayModel = new PlatServer($mysql);
        return [count($payment),count($payMonthData)];
    }

    public  function execute()
    {

        return $this->divideCenter();
    }
}